<div id="content_box">
    <?php
    for ($i = 0, $n = count($questions); $i < $n; $i++) {
        $question = $questions[$i];
        $title = $question->title;
        $titleAlt = quotes_to_entities($title);
        $description = $question->description;
        $image = $question->image;
        $slug = strtolower(url_title(convert_accented_characters($title)));
        $url = base_url('cau-hoi/'.$slug.'.html');
        ?>
        <div class="post excerpt">
            <header>
                <a href="<?php echo $url; ?>" title="<?php echo $titleAlt; ?>" id="featured-thumbnail">
                    <div class="featured-thumbnail">
                        <img width="300" height="180" src="<?php echo UPLOAD_FOLDER.'/'.$image; ?>" class="attachment-featured wp-post-image" alt="<?php echo $titleAlt; ?>" title="" />
                    </div>
                </a>
                <h2 class="title">
                    <a href="<?php echo $url; ?>" title="<?php echo $titleAlt; ?>"><?php echo $title; ?></a>
                </h2>
            </header>
            <div class="post-content image-caption-format-1">
                <?php echo $description; ?>
            </div>
            <div class="post-info">
                Chủ đề:
                <a href="#" title="">MTS</a>
            </div>
        </div>
        <?php
    }
    ?>
    <div class="pagination">
        <ul>
            <li class="current">
                <span class="currenttext">1</span>
            </li>
            <li>
                <a href="http://demo.mythemeshop.com/great/page/2/" class='inactive'>2</a>
            </li>
        </ul>
    </div>
</div>